package mamikeji.liaowa.bean;

/**
 * Created by 廉冲-android开发 on 2017/6/13.
 */
public class ArticleDetailsBean {

    /**
     * data : {"author":"小编","articleId":35,"isCollection":1,"tosourse":"太平洋网络","title":"补充叶酸的孕早期食谱推荐","categoryName":"膳食起居","fabutime":"2017-05-05T15:02:04","content":"/html/article.html?articleId=35&platform=app","important":null,"imgurl":"http://liaowa.oss-cn-shanghai.aliyuncs.com/images/wenzhang/ssqj5.jpg","commentcount":11,"timeline":"孕5天","viewcount":367,"category":3}
     * requestid : null
     * message : 请求成功
     * status : 200
     */
    private DataEntity data;
    private String requestid;
    private String message;
    private int status;

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setRequestid(String requestid) {
        this.requestid = requestid;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataEntity getData() {
        return data;
    }

    public String getRequestid() {
        return requestid;
    }

    public String getMessage() {
        return message;
    }

    public int getStatus() {
        return status;
    }

    public class DataEntity {
        /**
         * author : 小编
         * articleId : 35
         * isCollection : 1
         * tosourse : 太平洋网络
         * title : 补充叶酸的孕早期食谱推荐
         * categoryName : 膳食起居
         * fabutime : 2017-05-05T15:02:04
         * content : /html/article.html?articleId=35&platform=app
         * important : null
         * imgurl : http://liaowa.oss-cn-shanghai.aliyuncs.com/images/wenzhang/ssqj5.jpg
         * commentcount : 11
         * timeline : 孕5天
         * viewcount : 367
         * category : 3
         */
        private String author;
        private int articleId;
        private int isCollection;
        private String tosourse;
        private String title;
        private String categoryName;
        private String fabutime;
        private String content;
        private String important;
        private String imgurl;
        private int commentcount;
        private String timeline;
        private int viewcount;
        private int category;

        public void setAuthor(String author) {
            this.author = author;
        }

        public void setArticleId(int articleId) {
            this.articleId = articleId;
        }

        public void setIsCollection(int isCollection) {
            this.isCollection = isCollection;
        }

        public void setTosourse(String tosourse) {
            this.tosourse = tosourse;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }

        public void setFabutime(String fabutime) {
            this.fabutime = fabutime;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public void setImportant(String important) {
            this.important = important;
        }

        public void setImgurl(String imgurl) {
            this.imgurl = imgurl;
        }

        public void setCommentcount(int commentcount) {
            this.commentcount = commentcount;
        }

        public void setTimeline(String timeline) {
            this.timeline = timeline;
        }

        public void setViewcount(int viewcount) {
            this.viewcount = viewcount;
        }

        public void setCategory(int category) {
            this.category = category;
        }

        public String getAuthor() {
            return author;
        }

        public int getArticleId() {
            return articleId;
        }

        public int getIsCollection() {
            return isCollection;
        }

        public String getTosourse() {
            return tosourse;
        }

        public String getTitle() {
            return title;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public String getFabutime() {
            return fabutime;
        }

        public String getContent() {
            return content;
        }

        public String getImportant() {
            return important;
        }

        public String getImgurl() {
            return imgurl;
        }

        public int getCommentcount() {
            return commentcount;
        }

        public String getTimeline() {
            return timeline;
        }

        public int getViewcount() {
            return viewcount;
        }

        public int getCategory() {
            return category;
        }
    }
}
